package com.icss.lesson2;

public class TestMain6 {

    public static void main(String[] args) {

        Student stu1 = new Student("tom", 10);
        // com.icss.lesson2.Student@1540e19d
        //  类全名  @   16进制数 hashcode

        // 覆盖toString()  Student{name='tom', sno=10}
        System.out.println(stu1);



    }
}
